package top.hzy520.admin.carousel.service;

import top.hzy520.admin.carousel.entity.ConstsSiteCarousel;

import java.util.List;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 9:27 2019/6/5
 */
public interface CarouselService {
    List<ConstsSiteCarousel> constsSiteCarouselPagination(int offset, int limit);

    int constsSiteCarouselPaginationCount();

    int carouselChangeStatus(ConstsSiteCarousel carousel);

    void carouselRemove(List<Integer> idList);

    int carouselAddPost(ConstsSiteCarousel carousel);

    ConstsSiteCarousel findCarouselById(Integer id);

    int carouselEditPost(ConstsSiteCarousel carousel);
}
